<%@ page language="java" import="java.util.*"
	contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
<style type="text/css">
table {
	border: 1px solid black;
}

td {
	border: 1px solid black;
}
</style>

</head>
<body>
	<%
	//1.获取作用域中的map
	Map<String, String> map = (Map<String, String>) request.getAttribute("map");
	//2.遍历map进行显示
	Set<String> usernameset = map.keySet();
	%>

	<table>
		<%
		for (String key : usernameset) {
		%>
		<tr>
			<td><%=key%></td>
			<td><%=map.get(key)%></td>
		</tr>
		<%
		}
		%>
	</table>
</body>
</html>